import { Request, RequestForExportFile } from '@/plugins/supplier-request'
import { SUPPLIER_CARRIER_PATH, EXPORT_PATH } from './../constans'

// 供应商管理 - 服务商/承运商 - 列表查询
export const querySupplierCarrierListService = (data) => {
  return Request(`${SUPPLIER_CARRIER_PATH}/pageSupplierCarrier`, 'post', data)
}
// 供应商管理 - 服务商/承运商 - 导出文件
export const exportSupplierCarrierFileService = (data) => {
  return RequestForExportFile(`${EXPORT_PATH}/exportSupplierCarrier`, 'get', data)
}
// 供应商管理 - 服务商/承运商 - 查看服务商-承运商信息
export const querySupplierCarrierById = (data) => {
  return Request(`${SUPPLIER_CARRIER_PATH}/querySupplierCarrierById`, 'get', data)
}
